package com.sesame.feign;

import com.sesame.defin.Response;
import com.sesame.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "web-user")
public interface FeignServiceUser {

//    @RequestMapping("/user/detail")
//    Response<User> detail(@RequestParam("id") String id);

    @RequestMapping("/user/updateCacheDetail")
    Response<User> updateCacheDetail(@RequestParam("id") String id);

}
